package DesignMode.template;

/**
 * @auther zhouliangliang
 * @date 2022/11/15 10:31
 * @description
 */
public class Main {
    public static void main(String[] args) {
        Object request = new Object();
        ServiceTemplate templateA = new ServiceA();
        templateA.doService(request);
        System.out.println("================================");
        ServiceTemplate templateB = new ServiceB();
        templateB.doService(request);
    }
}
